/**
 * Copyright (C), 2021, 因特驰
 * FileName: SellerServiceApi
 * Author:   李晋武
 * Date:     2021/7/18 3:50
 * Description:
 * History:
 * 李晋武          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.esc.server;

import com.esc.model.Seller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author Yun
 * @create 2021/7/18
 * @since 1.0.0
 */
public interface SellerServiceApi {

    @RequestMapping("querySellerByPhone")
    Seller querySellerByPhone(@RequestParam("userPhone") String userPhone);

    @RequestMapping("registerSeller")
    void addSeller(@RequestBody Seller seller);
}